#include "KeyEventArgs.h"

namespace input {

	KeyEventArgs::KeyEventArgs( const KeyEventArgs& other ) :
		m_keyboard( other.m_keyboard ),
		m_key( other.m_key )
	{}

	KeyEventArgs::KeyEventArgs( const Keyboard& keyboard, int key ) :
		m_keyboard( keyboard ),
		m_key( key )
	{}

	KeyEventArgs::~KeyEventArgs() {}

	KeyEventArgs& KeyEventArgs::operator=( const KeyEventArgs& other ) {
		if( this == &other ) return *this;

		m_keyboard = other.GetKeyboardState();
		m_key = other.GetKey();

		return *this;
	}

}
